"""Build versioned extent allocator tests"""
import daos_build

def scons():
    """Execute build"""
    Import('denv')

    libraries = ['vea', 'gurt', 'cart', 'pmemobj', 'cmocka', 'daos_common_pmem']

    denv.AppendUnique(LIBPATH=['..'])
    vea_ut = daos_build.test(denv, 'vea_ut', 'vea_ut.c', LIBS=libraries)
    denv.Install('$PREFIX/bin/', vea_ut)

if __name__ == "SCons.Script":
    scons()
